#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include "KMPString.h"
using namespace std;

int main()
{
	string str1("abcdabbdfdesafgg");
	string tar("gg");
	int pos;
	KMPString k(str1, tar, pos);
	cout << pos << endl;
	return 0;
}